<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				var frame_height = $(window.frameElement).height() - 10;
				$('.window_content_list').height(frame_height);

				$('input').on('ifChanged', function (event) {
					if (this.checked) {
						parent.frames['[%$iframes_name%]'].into_input_value(this.value, '[%$inputname%]');
						parent.closeifram();
					}
				});
				$('.selecticon').unbind('click').bind('click', function () {
					var filename = $(this).attr('data-id');
					parent.frames['[%$iframes_name%]'].into_input_value(filename, '[%$inputname%]');
					parent.closeifram();
				});
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_window vt">
				<div class="panel window_content_list scro_div">
					<form name="ajax_list" method="post" id="ajax_list">
						<div class="panel-body p0" id="loadingstr">
							[%if count($file_list)>0  %]
							<table class="table table-hover">
								<thead>
									<tr class="bg_feishe kill_copy">
										<th class="text-center table_width_60">[%pack:public_pack-espcms_lable_select_name%]</th>
										<th class="text-center">[%pack:templates_pack-espcms_templates_file_filename%]</th>
									</tr>
								</thead>
								<tbody id="sortable">
									[%forlist from=$file_list key=i%]
									<tr data-id="[%$file_list[i].filename%]" class="selecticon m-cp">
										<td class="text-center">
											<input type="radio" name="select_id" id="select_id_[%$file_list[i].filename%]" class="select_id" value="[%$file_list[i].filename%]"/>
										</td>
										<td class="text-left">[%$file_list[i].basename%]</td>
									</tr>
									[%/forlist%]
								</tbody>
							</table>
							[%else%]
							<table class="table table-hover" id="tablelist">
								<tbody>
									<tr class="selecticon">
										<td class="text-center bort0" colspan="20">[%pack:public_pack-espcms_no_infomessage%]</td>
									</tr>
								</tbody>
							</table>
							[%/if%]
						</div>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>
